#ifndef _ITEMBAG_H_
#define _ITEMBAG_H_


#include "Item.h"
#include "CreatureData.h"

class ItemBag
{
public:

	friend class ItemBag; 

	ItemBag();
	~ItemBag();

	fvoid		Release();

	Item&		GetEquip( fint32 i );

	Item&		GetItem( fint32 i );

	fvoid		SwitchItem( fint32 i1 , fint32 i2 );

	fvoid		SwitchEquip( fint32 i1 , fint32 i2 );

	fvoid		EquipItem( fint32 i1 , fint32 i2 );

	fvoid		DropEquip( fint32 i1 , fint32 i2 );

	fint32		AddItem( fint32 id , fint32 num = 1 );

protected:

	Item		mEquips[ SAET_COUNT ];
	Item		mItems[ MAX_ITEM ];

};



#endif

